{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{% translate "Giving" %}{% endblock %} {% block content %}

{% blocktranslate trimmed with month=first|date:"F Y" %}Giving in {{ month }}{% endblocktranslate %}

{% translate "Recorded by agents during calls. Match transaction IDs against the church’s mobile money and bank statements." %}

{{ prev_month|date:"M Y" }} {% if next_month %}{{ next_month|date:"M Y" }}{% endif %} {% translate "Download (CSV)" %} {% translate "Giving by person" %}

{% translate "Total" %}

{{ total|tzs }}

{% blocktranslate trimmed count n=counted %}{{ n }} record{% plural %}{{ n }} records{% endblocktranslate %}

{% if by_purpose %} {% endif %}

{% translate "By medium" %}

{% if by_method %} {% else %}

{% translate "Nothing recorded this month." %}

{% endif %}
{% if page.object_list %}
{% for g in page %} {% endfor %}
{% translate "Date" %}{% translate "Given by" %}{% translate "Amount" %}{% translate "Medium" %}{% translate "Transaction ID" %}{% translate "Transaction type" %}{% translate "Recorded by" %}
{{ g.given_on|date:"j M" }} {{ g.contact.name }}{% if g.note %}
{{ g.note }}
{% endif %} {% if g.is_cancelled %}
{% blocktranslate trimmed with reason=g.cancel_reason %}Cancelled: {{ reason }}{% endblocktranslate %}
{% else %}{% translate "Correct or cancel" %}{% endif %}
{{ g.amount|tzs }} {{ g.medium_label }} {{ g.reference|default:"—" }} {{ g.purpose_label }} {{ g.recorded_by.display_name|default:"—" }}
{% include "_pager.html" %} {% else %}
{% translate "No giving recorded for this month." %}{% translate "Agents record gifts from the call screen or a contact’s page." %}
{% endif %} {% endblock %}